﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="createTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Register
</asp:Content>

<asp:Content ID="createContent" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Registering for Portland Code Camp 2012?</h1>
    <p>&nbsp;</p>
    <h2>Click here for <a href="http://pdxcodecamp2012.eventbrite.com/">Portland Code Camp 2012 attendee registration</a>.</h2>
    <p>
      Free registration to attend Portland Code Camp 2012 is provided through EventBright.com.
    </p>
    <p>
      Space is limited, so please <a href="http://pdxcodecamp2012.eventbrite.com/">sign up today</a>.
    </p>
    <p>&nbsp;</p>
    <h2>Create a Presenter Account</h2>
    <p>
      Accounts on this website allow presenters to create profiles and propose session.
      If you want to attend Portland Code Camp 2012, please use our <a href="http://pdxcodecamp2012.eventbrite.com/">attendee registration</a> at EventBright.
    </p>
    <%= Html.ValidationSummary("Account creation was unsuccessful. Please correct the errors and try again.") %>

    <% using (Html.BeginForm()) { %>
        <div>
            <fieldset>
                <legend>Account Information</legend>
                <p>
                    <label for="username">Username:</label>
                    <%= Html.TextBox("username") %>
                    <%= Html.ValidationMessage("username") %>
                </p>
                <p>
                    <label for="email">Email:</label>
                    <%= Html.TextBox("email") %>
                    <%= Html.ValidationMessage("email") %>
                </p>
                <p>
                  Note: passwords must be at least <%=Html.Encode(ViewData["PasswordLength"])%> characters in length.
                </p>
                <p>
                    <label for="password">Password:</label>
                    <%= Html.Password("password") %>
                    <%= Html.ValidationMessage("password") %>
                </p>
                <p>
                    <label for="confirmPassword">Confirm password:</label>
                    <%= Html.Password("confirmPassword") %>
                    <%= Html.ValidationMessage("confirmPassword") %>
                </p>
                <p>
                    <input type="submit" value="Register" />
                </p>
            </fieldset>
        </div>
    <% } %>
</asp:Content>
